#!/bin/sh
#
# Commit a module
#
# ModuleCommit <nFiles> <ProjectDir> <RweRoot> <Arguments>
#

test x$1 != x1 && echo "\nPlease select only one file for module commands\n" && exit 1
ProjDir=${2:?"ProjectDir missing"}
RweRoot=${3:?"RWE missing"}
shift 3

cd $ProjDir
cvs -r -Q commit "$@"

sniffaccess -q update_file_info '*/'
